home *** CD-ROM | disk | FTP | other *** search
- Path: li.net!usenet
- From: bsilvern@li.net (Bob Silvern)
- Newsgroups: comp.lang.c++
- Subject: Re: Large Array in Borland/Turbo C++
- Date: Thu, 25 Jan 1996 17:31:58 GMT
- Organization: Harmony Graphics
- Message-ID: <4e8eqi$kbb@linet02.li.net>
- References: <4e3rd8$q75@news.dgsys.com>
- NNTP-Posting-Host: lisuser44.li.net
- X-Newsreader: Forte Free Agent 1.0.82
-
- eweiss@winchendon.com (Eric Weiss) wrote:
-
-
- >Is there any easy way to declare and use an array of say 100,000 doubles in
- >Borland/Turbo C++? The problem is that if I use a huge pointer, I lose random
- >access to the array. I know I could use Watcom and it DOS extender, but the
- >rest of my program works fine in Borland C++.
-
- >Thanks.
-
- >Eric
- >eweiss@winchendon.com
-
-
- Am I missing something? Why not:
-
- double huge doub[100000];
-
- long i;
-
- for (i=0; i<100000; i++)
- doub[i] = ...
-
-
-
-
-
-